﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace CodeStash.Common.DataAccess.EntityFramework
{
    [DataContract]
    public partial class OwnedTeam
    {
        public OwnedTeam()
        {

        }

        public OwnedTeam(Guid teamOwnerAspMembershipUserId, string teamDescription)
        {
            this.TeamOwnerAspMembershipUserId = teamOwnerAspMembershipUserId;
            this.TeamDescription = teamDescription;
        }

        [Key]
        [DataMember]
        public int TeamId { get; set; }

        [DataMember]
        public Guid TeamOwnerAspMembershipUserId { get; set; }

        [DataMember]
        public string TeamDescription { get; set; }
    }
}